package com.xihua.sx.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xihua.sx.pojo.CarInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xihua.sx.pojo.ReserveVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CarInfoMapper extends BaseMapper<CarInfo> {
    @Select("SELECT * FROM `car_info`")
    Page<CarInfo> carList(@Param("page")Page<CarInfo> page);
}
